<?php //debug($arbol);  ?>
<div style="padding-left: 20px; padding-top: 10px;">
    <?php $c = 0; ?>
    <?php foreach ($arbol as $a): ?>
        <h2>
            <?php if ($c != 0): ?>
                <?php for ($i = 1; $i <= $c; $i++): ?>
                    &nbsp;&nbsp;&nbsp;
                <?php endfor; ?>
                <?php echo $this->Html->image('iconos/hijo.png'); ?>
            <?php endif; ?>
            <?php if ($categoria == 18): ?>        
                <?php echo $this->Html->image('iconos/liquidos.png', array('style' => 'padding-top: 10px;')); ?> <?php echo $a['Cortestubo']['codigo'] ?>     
            <?php endif; ?>
            <?php if ($categoria == 19): ?>        
                <?php echo $this->Html->image('iconos/tuboCompleto.png', array('style' => 'padding-top: 10px;')); ?> <?php echo $a['Cortestubo']['codigo'] ?>     
            <?php endif; ?>
            <?php if ($categoria == 20): ?>        
                <?php echo $this->Html->image('iconos/liquidos.png', array('style' => 'padding-top: 10px;')); ?> <?php echo $a['Cortestubo']['codigo'] ?>     
            <?php endif; ?>        
        </h2>    
        <?php $c++; ?>
        &nbsp;
    <?php endforeach; ?>      
</div>
